[Unit]
Description=kube-scheduler
After=network.target

[Service]
Type=simple
ExecStart={{ kubernetes_path }}/server/bin/kube-scheduler \
        --v 2 \
        --kubeconfig {{ kubernetes_path }}/server/conf/kube-scheduler.kubeconfig \
        --authentication-kubeconfig {{ kubernetes_path }}/server/conf/kube-scheduler.kubeconfig \
        --authorization-kubeconfig {{ kubernetes_path }}/server/conf/kube-scheduler.kubeconfig \
        --leader-elect \
        --bind-address 127.0.0.1
Restart=on-failure
RestartSec=1

[Install]
WantedBy=multi-user.target
